﻿{include file="base/publicView"}

<section class="rt_wrap content mCustomScrollbar">
 <div class="rt_content">
      <div class="page_title">
       <h2 class="fl">商品列表示例</h2>
       <a href="{:url('team/addTeam')}" class="fr top_rt_btn add_icon">添加团队</a>
      </div>
      <section class="mtb">
       <select class="select">
        <option>下拉菜单</option>
        <option>菜单1</option>
       </select>
       <input type="text" class="textbox textbox_225" placeholder="输入产品关键词或产品货号..."/>
       <input type="button" value="查询" class="group_btn"/>
      </section>
      <table class="table">
       <tr>
        <th>编号</th>
        <th>团队名称</th>
        <th>团队描述</th>
        <th>操作</th>
       </tr>
       {volist name='sl_data' id="v"}
       <tr>
        <td class="center">{++$num}</td>
        <td>{$v.team_title}</td>
        <td class="center" style="display: -webkit-box;       
  overflow: hidden;
  -webkit-box-orient: vertical;  
  -webkit-line-clamp: 2;">{$v.team_intro}</td>
        <td class="center">
         <a href="{:url('admin/team/editTeam')}?team_id={$v.team_id}" title="编辑" class="link_icon">编辑</a>
         <a href="{:url('team/delTeam')}?team_id={$v.team_id}" title="删除" class="link_icon" onclick="return del()">删除</a>
        </td>
       </tr>
       {/volist}
       <!--<tr>
        <td class="center"><img src="/static/admin/pic/goods02.jpg" width="50" height="50"/></td>
        <td>这里是产品名称</td>
        <td class="center">A15902</td>
        <td class="center"><strong class="rmb_icon">59.00</strong></td>
        <td class="center">包</td>
        <td class="center"><a title="是" class="link_icon">&#89;</a></td>
        <td class="center"><a title="否" class="link_icon">&#88;</a></td>
        <td class="center"><a title="是" class="link_icon">&#89;</a></td>
        <td class="center">5559</td>
        <td class="center">
         <a href="product_detail.html" title="编辑" class="link_icon">编辑</a>
         <a href="#" title="删除" class="link_icon">删除</a>
        </td>
       </tr>-->
      </table>
      {$sl_data->render()|raw}
 </div>
</section>
</body>
</html>
<script type="text/javascript">
	function del(){
		if(confirm("确认删除该数据吗")==false)return false;
	}
</script>
<!--
本代码由js代码网网友上传，js代码网收集并编辑整理;
尊重他人劳动成果;
转载请保留js代码链接 - www.jsdaima.com
-->